package com.paddyi.mapper;

import com.paddyi.model.Stock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 *  (Stock)
 * @author paddy
 * @since  2019-08-09 12:00:53
 */
@Component
public interface StockMapper extends BaseMapper<Stock> {

    int place(@Param("stock") Stock stock);

    int confirm(@Param("stock") Stock stock);

    int cancel(@Param("stock") Stock stock);

}